<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title></title>
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/css/common.css">
</head>
<body>
	<div class='status'><span>商品列表</span></div>
	<table class="table">
		<tr>
			<th>ID</th>
			<th>商品名称</th>
			<th>展示图</th>
			<th>价格</th>
			<th>货号</th>
			<th>操作</th>
		</tr>
		<foreach name='data' item='v'>
			<tr>
				<td>{$v.id}</td>
				<td width='40%'>{$v.name}</td>
				<td><img src="__ROOT__/Uploads/List/{$v.listpic}"/></td>
				<td>{$v.sprice}</td>
				<td>{$v.number}</td>
				<td><a class='btn' href="{:U('item',array('gid'=>$v['id']))}">添加货品</a><a class='btn' href="{:U('Goods/updateGoods',array('id'=>$v['id']))}">修改</a><a class='btn' href="{:U('delGoods',array('id'=>$v['id']))}">删除</a></td>
			</tr>
		</foreach>
		<tr><td colspan='6' class='td_center'>{$page}</td></tr>
	</table>
</body>
</html>						